/*工资反馈提交成功*/
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:frametrim/app/app_navigator.dart';
import 'package:frametrim/utility/screen.dart';
import 'package:frametrim/utility/sq_color.dart';
import 'package:frametrim/views/appbar_black.dart';
import 'package:frametrim/views/button_round.dart';

class SalaryFeedBackSuccessPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: SQColor.color_background,
      body: AnnotatedRegion(
        value: SystemUiOverlayStyle.dark,
        child: Container(
          child: Column(
            children: <Widget>[
              AppbarCenterTitle(
                title: '工资反馈',
                imgStr: 'image/imv_back.png',
                titleColor: SQColor.black,
              ),
              SizedBox(
                height: 40,
              ),
              Image.asset(
                'image/icon_ok.png',
                width: 80,
                height: 80,
              ),
              SizedBox(
                height: 10,
              ),
              Text(
                '提交成功',
                style: TextStyle(fontSize: 20, color: SQColor.black),
              ),
              SizedBox(
                height: 10,
              ),
              Container(
                padding: EdgeInsets.only(left: 40, right: 40),
                child: Text('您反馈的信息已提交成功，请等待工作人员处理',
                    style: TextStyle(
                        fontSize: 16, color: SQColor.color_888888, height: 1.3),
                    textAlign: TextAlign.center),
              ),
              Container(
                width: Screen.width - 20,
                height: 45,
                margin: EdgeInsets.only(top: 30),
                child: ButtonRoundView(
                  textStr: '返回',
                  textColor: SQColor.color_333333,
                  onPress: () {
                    //一次销毁多个页面
                    print('返回');
                    AppNavigator.popWithName(context, 'SalarySure');
                  },
                  buttonColor: SQColor.color_E7E7E7,
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
